-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change cohort_id
and strata
to subject_var
and group_var
.
#1106
Conversation
what do you think @clarkliming ? |
Code Coverage Summary
Diff against main
Results for commit: 16271a3 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
We will probably shield it so it doesn't really matter for now but maybe on the long(er) run |
i am inclined to block this pr, and merge it in the next PI, potential breaking change @Melkiades @ayogasekaram @edelarua @BFalquet @clarkliming , let me know what you think |
We are wrapping it so no problem on our side, we can postpone. |
Signed-off-by: Davide Garolini <[email protected]>
@ayogasekaram can you open PRs in scda.test and TLG-c to accommodate these changes? |
@Melkiades I've put up a PR in tlg-c which can be merged after the description file is updated. scda.test does not cover graphs currently so there is nothing to update there. I will create a separate issue to include plots in scda.test and add this to the task list. |
Signed-off-by: Davide Garolini <[email protected]>
Signed-off-by: Davide Garolini <[email protected]>
@@ -5,12 +5,14 @@ | |||
#' Line plot with the optional table. | |||
#' | |||
#' @param df (`data.frame`)\cr data set containing all analysis variables. | |||
#' @param alt_counts_df (`data.frame` or `NULL`)\cr data set that will be used (only) to counts objects in strata. | |||
#' @param alt_counts_df (`data.frame` or `NULL`)\cr data set that will be used (only) | |||
#' to counts objects in groups for stratification. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you still add (or strata)
after group where you specified it? so we get a bit of continuity and its searchable
#' @param variables (named `character` vector) of variable names in `df` data set. Details are: | ||
#' * `x` (`character`)\cr name of x-axis variable. | ||
#' * `y` (`character`)\cr name of y-axis variable. | ||
#' * `strata` (`character`)\cr name of grouping variable, i.e. treatment arm. Can be `NA` to indicate lack of groups. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to deprecate it I think (the same goes for the other param changes). Follow what Emily did with na_level
:)
…/tern into 1105_fix_params@main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm! Thanks Abi :)
closes #136 merge after: - [x] merging [this PR](insightsengineering/tern#1106) in tern - [x] Update tern package version in DESCRIPTION
closes #1105
should the
strata_N
object in the function be renamed togroup_N
?